Skip to content

[Workers] Add storage decision ladder example - #32671

Draft
MattieTK wants to merge 1 commit into
productionfrom
docs/workers-storage-decision-ladder
Draft

[Workers] Add storage decision ladder example#32671
MattieTK wants to merge 1 commit into
productionfrom
docs/workers-storage-decision-ladder

Conversation

@MattieTK

Copy link
Copy Markdown
Member

Summary

Adds a static HTML and CSS decision ladder to the Workers storage options page. The compact cards use page-sized typography, explicit answer labels, responsive layouts, and no client-side JavaScript.

Screenshots (optional)

Documentation checklist

@github-actions github-actions Bot added product:workers Related to Workers product size/m labels Aug 11, 2026
@MattieTK
MattieTK marked this pull request as ready for review August 11, 2026 20:57
@github-actions

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
*.astro @cloudflare/content-engineering, @kodster28
/src/content/docs/workers/ @cloudflare/workers-docs, @GregBrimble, @irvinebroque, @mikenomitch, @korinne, @WalshyDev, @cloudflare/deploy-config, @cloudflare/product-owners, @cloudflare/wrangler, @MattieTK, @cloudflare/dev-plat-leads, @vy-ton, @cloudflare/workers-runtime-1

@MattieTK
MattieTK requested a review from edmundhung August 11, 2026 20:57
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Review

⚠️ 1 warning, 💡 1 suggestion found in commit 4d07fb8.

👉 Fix in your agent 👈
Fix the following review findings in PR #32671 (https://github.com/cloudflare/cloudflare-docs/pull/32671).

Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g. the fix requires disproportionate effort for minimal benefit,
  or the finding is factually incorrect), explain why
- If you need clarification before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.

The comment must come before the commit — the bot reads PR comments when a new
push triggers a review, so skip comments posted after the push will be missed.

---

## Code Review

### Suggestions (1)

#### CR-38f1b8e19276 · Use MDX component barrel import
- **File:** `src/content/docs/workers/platform/storage-options.mdx` line 15
- **Issue:** The new component import uses a direct `.astro` file path (`~/components/StorageDecisionTree.astro`), while the existing import on the previous line uses the `~/components` barrel (`import { Render, Details } from "~/components";`). The repository's `AGENTS.md` states that MDX imports should come from the component barrel, and no MDX files in `src/content/` use direct `.astro` imports from `~/components/`.
- **Fix:** Register `StorageDecisionTree` in `src/components.ts` and import it from the barrel: `import { Render, Details, StorageDecisionTree } from "~/components";`.

---

## Style Guide Review

### Warnings (1)

#### SG-0efffb3cc186 · Component imports must use `~/components`
- **File:** `src/content/docs/workers/platform/storage-options.mdx` line 15
- **Issue:** import StorageDecisionTree from "~/components/StorageDecisionTree.astro";
- **Fix:** Change the import to `import { StorageDecisionTree } from "~/components";`.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

Suggestions (1)
File Issue
workers/platform/storage-options.mdx line 15 Use MDX component barrel import — The new component import uses a direct .astro file path (~/components/StorageDecisionTree.astro), while the existing import on the previous line uses the ~/components barrel (import { Render, Details } from "~/components";). The repository's AGENTS.md states that MDX imports should come from the component barrel, and no MDX files in src/content/ use direct .astro imports from ~/components/. Fix: Register StorageDecisionTree in src/components.ts and import it from the barrel: import { Render, Details, StorageDecisionTree } from "~/components";.

Conventions

No convention issues found.

Style Guide Review

Warnings (1)
File Issue
workers/platform/storage-options.mdx line 15 Component imports must use ~/components — import StorageDecisionTree from "~/components/StorageDecisionTree.astro"; Fix: Change the import to import { StorageDecisionTree } from "~/components";.
Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

@MattieTK
MattieTK marked this pull request as draft August 11, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant